-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDK] Add 2 new Pay functions: convertFiatToCrypto and convertCryptoToFiat #5457
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 57fa96b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
size-limit report 📦
|
a613e2e
to
980e2d3
Compare
980e2d3
to
d99b778
Compare
d99b778
to
b14876f
Compare
07afcee
to
f1e9de2
Compare
"thirdweb": minor | ||
--- | ||
|
||
Add 2 new Pay functions: convertFiatToCrypto and convertCryptoToFiat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a quick example in the changeset?
f1e9de2
to
ac08a47
Compare
Merge activity
|
…oFiat (#5457) CNCT-2369 ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces two new functions for converting between fiat and crypto currencies in the `thirdweb` package, along with corresponding tests and endpoints. ### Detailed summary - Added `convertFiatToCrypto` and `convertCryptoToFiat` functions. - Created endpoints for fiat to crypto and crypto to fiat conversions. - Implemented tests for both conversion functions, covering various scenarios and error handling. - Updated documentation with examples for the new functions. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
ac08a47
to
57fa96b
Compare
CNCT-2369
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR introduces two new functions for converting between fiat and crypto values, specifically
convertFiatToCrypto
andconvertCryptoToFiat
. It also adds corresponding endpoints and tests for these functions.Detailed summary
convertFiatToCrypto
andconvertCryptoToFiat
functions.